<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>网页标题</title>
    <script>
      alert('第一个JavaScript程序！');
    </script>
  </head>
  <body>网页内容</body>
</html>